<?php
	if (!empty($category)) {?>
	<h3><?=__('categories.view.title')?></h3>
	<table>
		<tr>
			<th><?=__('categories.name')?></th>
			<td><?=$category['Category']['name']; ?></td>
		</tr>
		<tr>
			<th><?=__('categories.description')?></th>
			<td><?=$category['Category']['description']; ?></td>
		</tr>
		<tr>
			<th><?=__('categories.enable')?></th>
			<td><?=$category['Category']['enable']; ?></td>
		</tr>
		<tr>
			<th><?=__('categories.doc')?></th>
			<td><?=date('d-m-Y', strtotime($category['Category']['created'])); ?></td>
		</tr>
		<tr>
			<th><?=__('categories.dom')?></th>
			<td><?=date('d-m-Y', strtotime($category['Category']['modified'])); ?></td>
		</tr>
	</table>
	<p><a href="/categories"><?=__('categories.view.backIndex')?></a></p>

<?php } else {?>

	<h3><?=__('categories.view.noCategory')?></h3>
<?php }?>